GET
/
local-consumer-types
/
[beta] List local consumer types for a country
curl --request GET \
  --url https://sandbox.prezio.eu/api/local-consumer-types/ \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": "lct_3",
      "key": "DK_Residential",
      "name": "Privatkunder",
      "consumer_type": "RESIDENTIAL"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Query Parameters

consumer_type
enum<string>

Filter by consumer type (RESIDENTIAL or BUSINESS)

Available options:
BUSINESS,
RESIDENTIAL
country
enum<string>
required

ISO-3166 alpha-2 country code

Available options:
AT,
DE,
DK,
ES,
GB,
NO,
SE
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

A search term.

Response

200
application/json

Success

The response is of type object.